package com.shop.shoppojo.dto;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StockTotalDTO implements Serializable {
    // 序列化版本号
    @Serial
    private static final long serialVersionUID = 1L;

    //商品ID
    private Long goodsId;

    //商品数量
    private Integer goodsNum;

    //商品库存
    private Integer stockTotal;

    //商品销售量
    private Integer goodsSales;
}
